docs: add example OpenAPI spec to SDK quickstart pages#5602
Merged
Conversation
Co-Authored-By: Devin Logan <devinannlogan@gmail.com>
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Contributor
Co-Authored-By: Devin Logan <devinannlogan@gmail.com>
…ppet Co-Authored-By: Devin Logan <devinannlogan@gmail.com>
devalog
approved these changes
May 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds an "Example (Petstore)" tab to the existing
<CodeBlocks>in the SDK quickstart init step. Users who don't have their own OpenAPI spec can use the public Swagger Petstore URL to try out SDK generation immediately.Previously the quickstarts had a Fern Definition option with a built-in
imdb.ymlexample, but it was removed when the init flow was streamlined to only show the OpenAPI path. This restores a "try it out" path as a third code block alongside the existing local and URL options.The change is in the shared
init-fern-folder.mdxsnippet, so it appears on all language-specific quickstart pages and the top-level SDKs quickstart.Review & Testing Checklist for Human
/learn/sdks/generators/typescript/quickstart)fern init --openapi https://petstore3.swagger.io/api/v3/openapi.json --organization my-organd confirmfern generateproduces a valid SDKNotes
Uses the Swagger Petstore v3 spec — a well-known, stable public spec maintained by the Swagger/OpenAPI team.
Link to Devin session: https://app.devin.ai/sessions/d2f0eef7747d47958b1f81c0c2163fd6
Requested by: @devalog